gusucode.com > ASP+ACCESS在线手机销售系统(论文+源代码+答辩PPT) > ASP+ACCESS在线手机销售系统(论文+源代码+答辩PPT)\9)ASP 在线手机销售系统\HandsetPro\handset\admin\userModify.asp
<!--#include file = "include/sysbase.asp"--> <% dim rsObj,strSQL set rsObj = Server.CreateObject("ADODB.RecordSet") strSQL = "SELECT * FROM Admins WHERE Account = '"&RealString(Request.QueryString("userId")) & "'" 'Response.Write strSQL 'Response.End rsObj.Open strSQL, conn, adOpenKeyset, adLockReadOnly if not (rsObj.eof or err) then %> <html> <head> <title>管理员管理</title> <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"> <link rel = "stylesheet" href = "include/main.css" type = "text/css"> <script language = Javascript> <!-- function deleteMe(){ if (confirm("确定删除?可是恢复不了的啊。") == 1){ window.location = "userDel.asp?userID=<%=RealString(Request.QueryString("userId"))%>"; } } //--> </script> </head> <body text = "#000000"> <br> <br> <br> <br> <form method = "post" action = "userModifySave.asp" name = "form1"> <table width = "98%" border = "1" bordercolordark = #9CC7EF bordercolorlight = #145AA0 cellspacing = "0" cellpadding = "4" align = "center"> <tbody> <tr> <td colspan = 2 height = "18" bgcolor = "#4296E7"> <p align = "center"><font color = "#ffffff">管理员管理</font></p> </td> </tr> <tr> <td width = 84 align = "right" height = "25" nowrap> <div align = "right">管理员帐号:</div> </td> <td width = "361" height = "25"> <input type = "text" name = "userID" size = "20" value = "<%=rsObj("Account")%>" readOnly> </td> </tr> <tr> <td width = 84 align = "right" height = "25" nowrap> <div align = "right">管理员姓名:</div> </td> <td width = "361" height = "25"> <input type = "text" name = "name" size = "20" value = "<%=rsObj("name")%>"> </td> </tr> <tr> <td width = 84 align = "right" height = "26" nowrap> <div align = "right">管理员密码:</div> </td> <td width = "361" height = "26"> <input type = "checkbox" name = "modifyPassword" value = "1"> <font color = "#FF0000">修改密码</font> <input type = "password" name = "password1" size = "12"> <input type = "password" name = "password2" size = "12"> </td> </tr> <tr> <td colspan = "2" align = "right" height = "26" nowrap bgcolor = "#4296E7"> <div align = "center"> <input type = "button" name = "Submit" value = "删除" onClick = "deleteMe()"> <input type = "submit" name = "Submit2" value = "修改"> <input type = "button" name = "Submit3" value = "返回" onClick = "window.location = '<%=Session("adminOldUrl")%>'"> </div> </td> </tr> </tbody> </table> </form> </body> </html> <%end if %>